package com.gzsxy.service.impl;

import com.gzsxy.dao.PermissionDao;
import com.gzsxy.entity.TPermission;
import com.gzsxy.service.PermissionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author xiaolong
 * @version 1.0
 * @description: TODO
 * @date 2021/11/4 14:27
 */
@Service
public class PermissionServiceImpl implements PermissionService {


    @Autowired
    private PermissionDao permissionDao;

    @Override
    public List<TPermission> findAllPermission() {
      return   permissionDao.findAllPermission();

    }
}
